package com.kzw.oa.service.system;

import java.util.List;

import com.kzw.core.service.BaseService;
import com.kzw.oa.model.system.Department;

public interface DepartmentService extends BaseService<Department> {

	public List<Department> findByParentId(Long parentId);
	public List<Department> findByDepName(String depName);
	public List<Department> findByPath(String path);
	
	/**
	 * 删除某个部门及其下属部门
	 * @param depId
	 */
	public void delCascade(Long depId);
}
